<?xml version="1.0" encoding="utf-8"?>
<TfsTemplateConfig>
  <Name>V-Modell XT Template</Name>
  <TfsVersion>2005</TfsVersion>
  <TfsLanguage>de</TfsLanguage>
  <TextResourcesFile>Language.resources</TextResourcesFile>
  <TemplateFolder>tpl</TemplateFolder>
  
  <Tasks>
    <Task type="classification" folder="Classification" file="Classification.xml" />
    <Task type="groups" folder="Groups and Permissions" file="GroupsandPermissions.xml" />
    <Task type="portal" folder="Windows SharePoint Services" file="WssTasks.xml" />
    <Task type="workitemtracking" folder="WorkItem Tracking" file="workitems.xml" />
  </Tasks>

  <Tasks.Groups>
    <DefaultGroup>Readers</DefaultGroup>
  </Tasks.Groups>

  <Tasks.Portal>
    <ProcessGuidanceName>Process Guidance</ProcessGuidanceName>
  </Tasks.Portal>

  <Tasks.WorkItemTracking>
    <Types>
      <Type type="milestone" name="Entscheidungspunkt">
        <Field type="name" name="System.Title" />
        <Field type="description" name="System.Description" />
        <Field type="id" name="VMXT.id" />

        <Field type="iterationpath" name="System.IterationPath" />
        <Field type="milestonetype" name="VMXT.Entscheidungspunkttyp" />
        <Field type="milestonefinishdate" name="Microsoft.VSTS.Scheduling.FinishDate" />

        <Field type="milestonepredecessor" name="VMXT.Vorgaenger" />
        <Field type="milestonesuccessor" name="VMXT.Nachfolger" />
        
        <Field type="const" name="System.State">
          <value>Geplant</value>
        </Field>
      </Type>
      
      <Type type="activity" name="Aktivität">
        <Field type="name" name="System.Title" />
        <Field type="description" name="System.Description" />
        <Field type="id" name="VMXT.id" />

        <Field type="iterationpath" name="System.IterationPath" />
        <Field type="activityfinishdate" name="Microsoft.VSTS.Scheduling.FinishDate" />
        <Field type="milestoneid" name="VMXT.EPRef" />
        <Field type="artifactid" name="VMXT.PRef" />
        <!--<Field type="artifactdiscipline" name="VMXT.Discipline" />-->

        <Field type="const" name="System.State">
          <value>Geplant</value>
        </Field>
      </Type>
      
      <Type type="task" name="Arbeitsauftrag">
        <Field type="name" name="System.Title" />
        <Field type="description" name="System.Description" />
        <Field type="id" name="VMXT.id" />

        <Field type="iterationpath" name="System.IterationPath" />
        <Field type="taskfinishdate" name="Microsoft.VSTS.Scheduling.FinishDate" />
        
        <Field type="activityid" name="VMXT.ARef" />
        <!--<Field type="artifactid" name="VMXT.PRef" />-->
        <Field type="artifactdiscipline" name="VMXT.Discipline" />
      </Type>

      <Type type="artifact" name="Produkt">
        <Field type="name" name="System.Title" />
        <Field type="description" name="System.Description" />
        <Field type="id" name="VMXT.id" />
        
        <Field type="artifacttype" name="VMXT.ProduktTyp" />
        <!--<Field type="artifactdiscipline" name="VMXT.Discipline" />-->

        <Field type="const" name="VMXT.Erzeugung">
          <value>Initial</value>
        </Field>
      </Type>
    </Types>
    
    <TypeModifications>
      <Modification type="allowedvalues" folder="WorkItem Tracking/TypeDefinitions" file="VMXT_Produkt.xml">
        <Values>AllArtifactNames</Values>
        <Field>VMXT.ProduktTyp</Field>
      </Modification>

      <Modification type="allowedvalues" folder="WorkItem Tracking/TypeDefinitions" file="VMXT_Arbeitsauftrag.xml">
        <Values>AllDisciplineNames</Values>
        <Field>VMXT.Discipline</Field>
      </Modification>

      <Modification type="allowedvalues" folder="WorkItem Tracking/TypeDefinitions" file="VMXT_Entscheidungspunkt.xml">
        <Values>AllMilestoneTypes</Values>
        <Field>VMXT.Entscheidungspunkttyp</Field>
      </Modification>
    </TypeModifications>
  </Tasks.WorkItemTracking>
</TfsTemplateConfig>